package com.schoolpro.mapper;


import com.schoolpro.pojo.DO.ValueDO;
import com.schoolpro.pojo.DTO.ValueDTO;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import org.apache.ibatis.annotations.Mapper;
import org.hibernate.validator.constraints.Length;

import java.util.List;

/**
* @author : Hinton
* @时间 : 2月 05 20:49
*/


@Mapper
public interface ValueMapper {

    /**
     * 批量插入枚举值
     * @param valueDOList
     */
    void insertBatch(List<ValueDO> valueDOList);

    List<ValueDTO> getByCategoryPropertyName(String categoryName,  String propertyName);

    /**
     * 根据类目名称删除枚举值
     * @param categoryName
     */
    void deleteByCategoryName(String categoryName);
}
